package com.lm.activiti.boot.annotation.ex;

import lombok.Data;

/**
 * @author lm_jcf
 * @date 2020/10/29 11:20
 */
@Data
public class DataException extends RuntimeException {

    private String errorMessage;

    private String errorCode;

    public DataException( String errorMessage, String errorCode) {
        this.errorMessage = errorMessage;
        this.errorCode = errorCode;
    }
}
